Update dependency fastapi to ^0.115.0 #206
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.112.0
->^0.115.0
Release Notes
fastapi/fastapi (fastapi)
v0.115.2
Compare Source
Upgrades
>=0.37.2,<0.41.0
. PR #12431 by @tiangolo.v0.115.1
Compare Source
Fixes
Required
shadowing from fastapi using Pydantic v2. PR #12197 by @pachewise.Refactors
python-multipart
. PR #12407 by @tiangolo.Docs
base_path
formdx_include
Markdown extension in MkDocs. PR #12391 by @tiangolo.docs/project-generation.md
. PR #12274 by @kayqueGovetri.Translations
docs/pt/docs/tutorial/cookie-param-models.md
. PR #12298 by @ceb10n.docs/pt/docs/how-to/graphql.md
. PR #12215 by @AnandaCampelo.docs/pt/docs/advanced/security/oauth2-scopes.md
. PR #12263 by @ceb10n.docs/pt/docs/deployment/concepts.md
. PR #12219 by @marcelomarkus.docs/pt/docs/how-to/conditional-openapi.md
. PR #12221 by @marcelomarkus.docs/pt/docs/advanced/response-directly.md
. PR #12266 by @Joao-Pedro-P-Holanda.docs/pt/docs/tutorial/cookie-params.md
. PR #12297 by @ceb10n.docs/ko/docs/tutorial/index.md
. PR #12278 by @kkotipy.docs/pt/docs/advanced/security/http-basic-auth.md
. PR #12275 by @andersonrocha0.docs/pt/docs/deployment/cloud.md
. PR #12217 by @marcelomarkus.docs/es/docs/python-types.md
. PR #12235 by @JavierSanchezCastro.docs/nl/docs/environment-variables.md
. PR #12200 by @maxscheijen.docs/pt/docs/deployment/manually.md
. PR #12210 by @JoaoGustavoRogel.docs/pt/docs/deployment/server-workers.md
. PR #12220 by @marcelomarkus.docs/pt/docs/how-to/configure-swagger-ui.md
. PR #12222 by @marcelomarkus.Internal
sponsors_badge.yml
. PR #12404 by @tiangolo.v0.115.0
Compare Source
Highlights
Now you can declare
Query
,Header
, andCookie
parameters with Pydantic models. 🎉Query
Parameter ModelsUse Pydantic models for
Query
parameters:Read the new docs: Query Parameter Models.
Header
Parameter ModelsUse Pydantic models for
Header
parameters:Read the new docs: Header Parameter Models.
Cookie
Parameter ModelsUse Pydantic models for
Cookie
parameters:Read the new docs: Cookie Parameter Models.
Forbid Extra Query (Cookie, Header) Parameters
Use Pydantic models to restrict extra values for
Query
parameters (also applies toHeader
andCookie
parameters).To achieve it, use Pydantic's
model_config = {"extra": "forbid"}
:This applies to
Query
,Header
, andCookie
parameters, read the new docs:Features
Query
,Cookie
,Header
. PR #12199 by @tiangolo.Translations
docs/pt/docs/advanced/security/http-basic-auth.md
. PR #12195 by @ceb10n.Internal
v0.114.2
Compare Source
Fixes
alias
. PR #12194 by @Wurstnase.Translations
docs/pt/docs/tutorial/request-form-models.md
. PR #12175 by @ceb10n.docs/zh/docs/project-generation.md
. PR #12170 by @waketzheng.docs/nl/docs/python-types.md
. PR #12158 by @maxscheijen.Internal
v0.114.1
Compare Source
Refactors
Docs
docs/en/docs/environment-variables.md
. PR #12169 by @prometek.Translations
docs/pt/docs/virtual-environments.md
. PR #12163 by @marcelomarkus.docs/pt/docs/environment-variables.md
. PR #12162 by @marcelomarkus.docs/pt/docs/tutorial/testing.md
. PR #12164 by @marcelomarkus.docs/pt/docs/tutorial/debugging.md
. PR #12165 by @marcelomarkus.docs/ko/docs/project-generation.md
. PR #12157 by @BORA040126.Internal
issue-manager.yml
. PR #12159 by @tiangolo.fastapi/params.py
. PR #12143 by @surreal30.v0.114.0
Compare Source
You can restrict form fields to only include those declared in a Pydantic model and forbid any extra field sent in the request using Pydantic's
model_config = {"extra": "forbid"}
:Read the new docs: Form Models - Forbid Extra Form Fields.
Features
Docs
Internal
v0.113.0
Compare Source
Now you can declare form fields with Pydantic models:
Read the new docs: Form Models.
Features
Form
parameters. PR #12129 by @tiangolo.Internal
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.